<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">数量:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="number" class="form-control" name="row[number]" placeholder="数量">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">下载方式:</label>
        <div class="col-xs-12 col-sm-8">
           <select name="row[action]"  class="form-control"  id="action">
                            <option value="1">下载Excel到本地</option>
                            <option value="2">下载到企业微信</option>
            </select>
        </div>
    </div>    
    <div class="form-group" id="userid" style="display: none;">
        <label class="control-label col-xs-12 col-sm-2">企业微信收取人:</label>
        <div class="col-xs-12 col-sm-8">
          <input class="form-control selectpage" name="row[userid]"   data-source="/api/base/user" data-primary-key="userid" data-field="username"  data-params='{"custom[id]":"1"}'   type="text" value="">
        </div>
    </div>
   <div class="form-group layer-footer">
                <label class="control-label col-xs-12 col-sm-2"></label>
                <div class="col-xs-12 col-sm-8">
                    <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
                    <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
                </div>
    </div>
</form>
